package com.spring.utils.api_v4.controller.ui;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.spring.utils.api_v4.pojo.UserInfo;
import com.spring.utils.api_v4.util.DoubleSerialize;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 部门工资信息
 */
@Data
public class DeptWageItem {
    @NotNull(message = "请选择部门")
    private int id;         // 部门编号
    private String name;    // 部门名称
    private long staffCount; // 职工人数
    private long cadreCount; // 干部人数
    @JsonSerialize(using = DoubleSerialize.class)
    private double meritPay;    // 绩效余额
    @JsonSerialize(using = DoubleSerialize.class)
    private double totalWage;   // 绩效总额
    private String clerkId;  // 工资员
    private String note = "无特殊说明";    // 备注
}
